package bjx.com.kehu.model;


import android.os.Parcel;
import android.os.Parcelable;

import java.io.Serializable;

public class UserModel extends BaseModel implements Parcelable, Serializable {

    String user_id;
    String mobile;
    String password;
    String f_id;
    String user_type;
    String vip_code;
    String vip_invole_num;
    String user_money;
    String frozen_money;
    String points;
    String total_amount;
    String order_num;
    String level;
    String nickname;
    String head_pic;
    String city;
    String city_name;
    String user_system;
    String bankusername;
    String bankname;
    String banknum;
    String alipay;
    String car_type;
    String car_num;
    String address;
    String openid;
    String vip_involve;
    String is_lock;
    String ext;
    String reg_time;
    String last_login;
    String re_mobile;
    String last_ip;
    String is_del;
    String imei;
    String device_token;

    public UserModel() {}

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getF_id() {
        return f_id;
    }

    public void setF_id(String f_id) {
        this.f_id = f_id;
    }

    public String getUser_type() {
        return user_type;
    }

    public void setUser_type(String user_type) {
        this.user_type = user_type;
    }

    public String getVip_code() {
        return vip_code;
    }

    public void setVip_code(String vip_code) {
        this.vip_code = vip_code;
    }

    public String getVip_invole_num() {
        return vip_invole_num;
    }

    public void setVip_invole_num(String vip_invole_num) {
        this.vip_invole_num = vip_invole_num;
    }

    public String getUser_money() {
        return user_money;
    }

    public void setUser_money(String user_money) {
        this.user_money = user_money;
    }

    public String getFrozen_money() {
        return frozen_money;
    }

    public void setFrozen_money(String frozen_money) {
        this.frozen_money = frozen_money;
    }

    public String getPoints() {
        return points;
    }

    public void setPoints(String points) {
        this.points = points;
    }

    public String getTotal_amount() {
        return total_amount;
    }

    public void setTotal_amount(String total_amount) {
        this.total_amount = total_amount;
    }

    public String getOrder_num() {
        return order_num;
    }

    public void setOrder_num(String order_num) {
        this.order_num = order_num;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getHead_pic() {
        return head_pic;
    }

    public void setHead_pic(String head_pic) {
        this.head_pic = head_pic;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCity_name() {
        return city_name;
    }

    public void setCity_name(String city_name) {
        this.city_name = city_name;
    }

    public String getUser_system() {
        return user_system;
    }

    public void setUser_system(String user_system) {
        this.user_system = user_system;
    }

    public String getBankusername() {
        return bankusername;
    }

    public void setBankusername(String bankusername) {
        this.bankusername = bankusername;
    }

    public String getBankname() {
        return bankname;
    }

    public void setBankname(String bankname) {
        this.bankname = bankname;
    }

    public String getBanknum() {
        return banknum;
    }

    public void setBanknum(String banknum) {
        this.banknum = banknum;
    }

    public String getAlipay() {
        return alipay;
    }

    public void setAlipay(String alipay) {
        this.alipay = alipay;
    }

    public String getCar_type() {
        return car_type;
    }

    public void setCar_type(String car_type) {
        this.car_type = car_type;
    }

    public String getCar_num() {
        return car_num;
    }

    public void setCar_num(String car_num) {
        this.car_num = car_num;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getVip_involve() {
        return vip_involve;
    }

    public void setVip_involve(String vip_involve) {
        this.vip_involve = vip_involve;
    }

    public String getIs_lock() {
        return is_lock;
    }

    public void setIs_lock(String is_lock) {
        this.is_lock = is_lock;
    }

    public String getExt() {
        return ext;
    }

    public void setExt(String ext) {
        this.ext = ext;
    }

    public String getReg_time() {
        return reg_time;
    }

    public void setReg_time(String reg_time) {
        this.reg_time = reg_time;
    }

    public String getLast_login() {
        return last_login;
    }

    public void setLast_login(String last_login) {
        this.last_login = last_login;
    }

    public String getRe_mobile() {
        return re_mobile;
    }

    public void setRe_mobile(String re_mobile) {
        this.re_mobile = re_mobile;
    }

    public String getLast_ip() {
        return last_ip;
    }

    public void setLast_ip(String last_ip) {
        this.last_ip = last_ip;
    }

    public String getIs_del() {
        return is_del;
    }

    public void setIs_del(String is_del) {
        this.is_del = is_del;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public String getDevice_token() {
        return device_token;
    }

    public void setDevice_token(String device_token) {
        this.device_token = device_token;
    }

    public static final Parcelable.Creator<UserModel> CREATOR = new Creator<UserModel>() {
        public UserModel createFromParcel(Parcel source) {
            UserModel model = new UserModel();
            model.user_id = source.readString();
            model.mobile = source.readString();
            model.password = source.readString();
            model.f_id = source.readString();
            model.user_type = source.readString();
            model.vip_code = source.readString();
            model.vip_invole_num = source.readString();
            model.user_money = source.readString();
            model.frozen_money = source.readString();
            model.points = source.readString();
            model.total_amount = source.readString();
            model.order_num = source.readString();
            model.level = source.readString();
            model.nickname = source.readString();
            model.head_pic = source.readString();
            model.city = source.readString();
            model.city_name = source.readString();
            model.user_system = source.readString();
            model.bankusername = source.readString();
            model.bankname = source.readString();
            model.banknum = source.readString();
            model.alipay = source.readString();
            model.car_type = source.readString();
            model.car_num = source.readString();
            model.address = source.readString();
            model.openid = source.readString();
            model.vip_involve = source.readString();
            model.is_lock = source.readString();
            model.ext = source.readString();
            model.reg_time = source.readString();
            model.last_login = source.readString();
            model.re_mobile = source.readString();
            model.last_ip = source.readString();
            model.is_del = source.readString();
            model.imei = source.readString();
            model.device_token = source.readString();
            return model;
        }
        public UserModel[] newArray(int size) {
            return new UserModel[size];
        }
    };

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(user_id);
        dest.writeString(mobile);
        dest.writeString(password);
        dest.writeString(f_id);
        dest.writeString(user_type);
        dest.writeString(vip_code);
        dest.writeString(vip_invole_num);
        dest.writeString(user_money);
        dest.writeString(frozen_money);
        dest.writeString(points);
        dest.writeString(total_amount);
        dest.writeString(order_num);
        dest.writeString(level);
        dest.writeString(nickname);
        dest.writeString(head_pic);
        dest.writeString(city);
        dest.writeString(city_name);
        dest.writeString(user_system);
        dest.writeString(bankusername);
        dest.writeString(bankname);
        dest.writeString(banknum);
        dest.writeString(alipay);
        dest.writeString(car_type);
        dest.writeString(car_num);
        dest.writeString(address);
        dest.writeString(openid);
        dest.writeString(vip_involve);
        dest.writeString(is_lock);
        dest.writeString(ext);
        dest.writeString(reg_time);
        dest.writeString(last_login);
        dest.writeString(re_mobile);
        dest.writeString(last_ip);
        dest.writeString(is_del);
        dest.writeString(imei);
        dest.writeString(device_token);
    }

    @Override
    public String toString() {
        return "UserModel [user_id=" + user_id
                + ", mobile=" + mobile
                + ", password=" + password
                + ", f_id=" + f_id
                + ", user_type=" + user_type
                + ", nickname=" + nickname
                + ", vip_code=" + vip_code
                + ", vip_invole_num=" + vip_invole_num
                + ", user_money=" + user_money
                + ", frozen_money=" + frozen_money
                + ", points=" + points
                + ", total_amount=" + total_amount
                + ", order_num=" + order_num
                + ", level=" + level
                + ", nickname=" + nickname
                + ", head_pic=" + head_pic
                + ", city=" + city
                + ", city_name=" + city_name
                + ", user_system=" + user_system
                + ", bankusername=" + bankusername
                + ", bankname=" + bankname
                + ", banknum=" + banknum
                + ", alipay=" + alipay
                + ", car_type=" + car_type
                + ", car_num=" + car_num
                + ", address=" + address
                + ", openid=" + openid
                + ", vip_involve=" + vip_involve
                + ", is_lock=" + is_lock
                + ", ext=" + ext
                + ", reg_time=" + reg_time
                + ", last_login=" + last_login
                + ", re_mobile=" + re_mobile
                + ", last_ip=" + last_ip
                + ", is_del=" + is_del
                + ", imei=" + imei
                + ", device_token=" + device_token
                + "]";
    }
}
